package com.xinghou.platform.dao.main;


import java.util.List;

import org.springframework.dao.DataAccessException;

import com.xinghou.platform.model.main.PhotoAlbum;


/**
 * @author liuwei.wen
 *
 */
public interface PhotoAlbumDAO {

    public PhotoAlbum getPhotoAlbumByalbumId(Integer albumId) throws DataAccessException;
	
	public int updatePhotoAlbum(PhotoAlbum photoAlbum) throws DataAccessException;
	
	public int savePhotoAlbum( PhotoAlbum photoAlbum) throws DataAccessException;
	
	public List<PhotoAlbum> getPhotoAlbumByUserId(Integer userId) throws DataAccessException;
}
